Replace an icon name with a macro
authorFederico Mena Quintero <federico@gnome.org>
Tue, 4 Oct 2011 22:10:01 +0000 (17:10 -0500)
committerFederico Mena Quintero <federico@gnome.org>
Tue, 4 Sep 2012 01:54:07 +0000 (20:54 -0500)
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkplacessidebar.c

index a00051ac8b13bfbeb273bdcfa2ebc5453d95c935..78e581f02a02356ff5fe3bc9076ee26bc82a3c24 100644 (file)
@@ -259,7 +259,7 @@ get_eject_icon (GtkPlacesSidebar *sidebar,
 
        icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (sidebar)));
        icon_size = get_icon_size (sidebar);
-       icon = g_themed_icon_new_with_default_fallbacks ("media-eject-symbolic");
+       icon = g_themed_icon_new_with_default_fallbacks (ICON_NAME_EJECT);
        icon_info = gtk_icon_theme_lookup_by_gicon (icon_theme, icon, icon_size, 0);
 
        style = gtk_widget_get_style_context (GTK_WIDGET (sidebar));